export interface ListParams {
  page?: number;
  pageSize?: number;
  name: string;
  beginDate: string;
  endDate: string;
  begId?: number;
  addTime?: string;
  staffId?: number;
}

export interface ListData {
  id: number;
  companyId: number;
  elderlyId: number;
  addTime: string;
  addAccountId: number;
  bloodPressure: string;
  pulse: string;
  begId: number;
  begName: string | null;
  idCard: string;
  addAccountName: string;
  addAccountPhoto: string | null;
  elderlyName: string;
  elderlyPhoto: string;
  elderlyGender: string;
  elderlyIdCard: string;
  houseName: string | null;
  buildingName: string;
  staffId: number;
  staffName: null | string;
  staffPhoto: null | string;
}

export interface ListResult {
  counts: number;
  pageSize: number;
  list: ListData[];
}

export interface AddParams {
  id?: number;
  elderlyId: number;
  bloodPressure: string;
  staffId?: number;
  pulse: string;
}
